type: object
properties:
  id:
    description: Unique identifier for the operation.
    type: string
    example: 2f24211d-d928-469a-aea3-3c8f53d4e426
  name:
    description: The name of the operation.
    type: string
    example: Log to Console
  key:
    description: Key for the operation. Must be unique within a given flow.
    type: string
    example: log_console
  type:
    description:
      Type of operation. One of `log`, `mail`, `notification`, `create`, `read`, `request`, `sleep`, `transform`,
      `trigger`, `condition`, or any type of custom operation extensions.
    type: string
    example: log
  options:
    description: Options depending on the type of the operation.
    type: object
    example: null
    nullable: true
  position_x:
    description: Position of the operation on the X axis within the flow workspace.
    type: integer
    example: 12
  position_y:
    description: Position of the operation on the Y axis within the flow workspace.
    type: integer
    example: 12
  date_created:
    description: Timestamp in ISO8601 when the operation was created.
    type: string
    example: '2022-05-11T13:14:52Z'
    format: date-time
    nullable: true
  user_created:
    description: The user who created the operation.
    example: 63716273-0f29-4648-8a2a-2af2948f6f78
    oneOf:
      - type: string
      - $ref: '../openapi.yaml#/components/schemas/Users'
  resolve:
    description: The operation triggered when the current operation succeeds (or `then` logic of a condition operation).
    example: 63716273-0f29-4648-8a2a-2af2948f6f78
    oneOf:
      - type: string
      - $ref: '../openapi.yaml#/components/schemas/Operations'
  reject:
    description:
      The operation triggered when the current operation fails (or `otherwise` logic of a condition operation).
    example: 63716273-0f29-4648-8a2a-2af2948f6f78
    oneOf:
      - type: string
      - $ref: '../openapi.yaml#/components/schemas/Operations'
  operation:
    description: The flow containing this operation.
    example: 92e82998-e421-412f-a513-13701e83e4ce
    oneOf:
      - type: string
      - $ref: '../openapi.yaml#/components/schemas/Flows'
